clk: bcm2835: Add leaf clock measurement support, disabled by default
authorEric Anholt <eric@anholt.net>
Tue, 17 Jan 2017 20:31:57 +0000 (07:31 +1100)
committerRaspbian kernel package updater <root@raspbian.org>
Thu, 15 Feb 2018 17:28:43 +0000 (17:28 +0000)
commitc76a59cc5ebf9a3bca36f76844aa988827ebd695
tree832eb285aeed3b8c8c84691a474e0064b4f3dd6d
parent729e8cb5b4989c0003cd99faedf7a8540b1672ee
clk: bcm2835: Add leaf clock measurement support, disabled by default

This proved incredibly useful during debugging of the DSI driver, to
see if our clocks were running at rate we requested.  Let's leave it
here for the next person interacting with clocks on the platform (and
so that hopefully we can just hook it up to debugfs some day).

Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
(cherry picked from commit 3f9195811d8d829556c4cd88d3f9e56a80d5ba60)
drivers/clk/bcm/clk-bcm2835.c